<%@page contentType="text/html; charset=utf-8" import="java.util.*"%>
<%
  //Enumeration params = null;
  //String strParamName=null;
  HashMap hmParam = new HashMap(request.getParameterMap());

  System.out.println(((String[])hmParam.get("empno"))[0]);

  hmParam.put("flow_num",new String[]{"IMM1111111111"});

  System.out.println(hmParam.get("flow_num"));

  //request.getParameterMap().put("empno","05227");

  /*if (request.getParameterNames() != null) {
    params = request.getParameterNames();

    while(params.hasMoreElements()) {
      strParamName = (String)params.nextElement();
      request.setAttribute(strParamName,request.getParameter(strParamName));
    }
  }

  if(request.getParameter("empno")==null)request.setAttribute("empno","05227");*/
%>
<html>
<body bgcolor="#ffffff">
<form method="post" action="testRequestAttribute.jsp">
<br><br>
<input type="text" name="flow_num" value="<%=((String[])hmParam.get("flow_num"))[0]%>" />
<input type="text" name="empno" value="<%=((String[])request.getParameterMap().get("empno"))[0]%>" />
</form>
</body>
</html>
